/** * Constructor * * @param FlowResource $resource */ public function __construct(FlowResource $resource) { parent::__construct($resource); $this->variants = new ArrayCollection(); }
/** * 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; }