Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
 
3
namespace Packback\Lti1p3\DeepLinkResources;
4
 
5
trait HasDimensions
6
{
7
    public function setWidth(?int $width): self
8
    {
9
        $this->width = $width;
10
 
11
        return $this;
12
    }
13
 
14
    public function getWidth(): ?int
15
    {
16
        return $this->width;
17
    }
18
 
19
    public function setHeight(?int $height): self
20
    {
21
        $this->height = $height;
22
 
23
        return $this;
24
    }
25
 
26
    public function getHeight(): ?int
27
    {
28
        return $this->height;
29
    }
30
}