Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CS

  • Loading branch information...
commit 189cce2d2ef3ec0c0cbec3d92fcc26312c9a650b 1 parent 523ec7e
@iampersistent iampersistent authored
Showing with 17 additions and 18 deletions.
  1. +17 −18 lib/Vespolina/Entity/Asset/Asset.php
View
35 lib/Vespolina/Entity/Asset/Asset.php
@@ -15,21 +15,20 @@
*/
class Asset implements AssetInterface
{
- protected $id;
+ protected $height;
protected $label;
+ protected $mime;
protected $priority;
protected $src;
- protected $height;
- protected $width;
- protected $mime;
protected $type;
+ protected $width;
/**
* Set the asset label
*
* @param $label
*/
- function setLabel($label)
+ public function setLabel($label)
{
$this->label = $label;
}
@@ -38,7 +37,7 @@ function setLabel($label)
* Get the asset label.
* @return label
*/
- function getLabel()
+ public function getLabel()
{
return $this->label;
}
@@ -48,7 +47,7 @@ function getLabel()
*
* @param $priority
*/
- function setPriority($priority)
+ public function setPriority($priority)
{
$this->priority = $priority;
}
@@ -57,7 +56,7 @@ function setPriority($priority)
* Get the asset priority.
* @return priority
*/
- function getPriority()
+ public function getPriority()
{
return $this->priority;
}
@@ -65,7 +64,7 @@ function getPriority()
/**
* @inheritdoc
*/
- function setSrc($src)
+ public function setSrc($src)
{
$this->src = $src;
}
@@ -73,7 +72,7 @@ function setSrc($src)
/**
* @inheritdoc
*/
- function getSrc()
+ public function getSrc()
{
return $this->src;
}
@@ -83,7 +82,7 @@ function getSrc()
*
* @param $height
*/
- function setHeight($height)
+ public function setHeight($height)
{
$this->height = $height;
}
@@ -92,7 +91,7 @@ function setHeight($height)
* Get the asset height.
* @return height
*/
- function getHeight()
+ public function getHeight()
{
return $this->height;
}
@@ -102,7 +101,7 @@ function getHeight()
*
* @param $width
*/
- function setWidth($width)
+ public function setWidth($width)
{
$this->width = $width;
}
@@ -111,7 +110,7 @@ function setWidth($width)
* Get the asset width.
* @return width
*/
- function getWidth()
+ public function getWidth()
{
return $this->width;
}
@@ -121,7 +120,7 @@ function getWidth()
*
* @param $mime
*/
- function setMime($mime)
+ public function setMime($mime)
{
$this->mime = $mime;
}
@@ -130,7 +129,7 @@ function setMime($mime)
* Get the asset mime.
* @return mime
*/
- function getMime()
+ public function getMime()
{
return $this->mime;
}
@@ -140,7 +139,7 @@ function getMime()
*
* @param $type
*/
- function setType($type)
+ public function setType($type)
{
$this->type = $type;
}
@@ -149,7 +148,7 @@ function setType($type)
* Get the asset type.
* @return type
*/
- function getType()
+ public function getType()
{
return $this->type;
}
Please sign in to comment.
Something went wrong with that request. Please try again.