Example #1
0
 /**
  * Constructor
  *
  * @param FlowResource $resource
  */
 public function __construct(FlowResource $resource)
 {
     parent::__construct($resource);
     $this->variants = new ArrayCollection();
 }
Example #2
0
 /**
  * Constructs the object and sets default values for width and height
  */
 public function __construct()
 {
     parent::__construct();
     $this->width = -1;
     $this->height = -1;
 }
 /**
  * Constructs the object and sets default values for width and height
  *
  * @param FlowResource $resource
  */
 public function __construct(FlowResource $resource)
 {
     parent::__construct($resource);
     $this->width = -1;
     $this->height = -1;
 }