/** * Constructor * * @param null|string $filePath * @param null|string $fileContent * @param array $approvedBlocks */ public function __construct($filePath = null, $fileContent = null, array $approvedBlocks = array()) { parent::__construct($filePath, $fileContent); $this->approvedBlocks = $approvedBlocks; }
/** * Constructor * * @param string $username * @param null|string $filePath * @param null|string $fileContent */ public function __construct($username, $filePath = null, $fileContent = null) { parent::__construct($filePath, $fileContent); $this->username = $username; }
/** * Constructor * * @param \JMS\Serializer\SerializerInterface $serializer * @param string $filePath * @param string $fileContent * @param string $blockClass */ public function __construct(SerializerInterface $serializer, $filePath = null, $fileContent = null, $blockClass = null) { parent::__construct($filePath, $fileContent); $this->serializer = $serializer; $this->blockClass = $blockClass; }