protected function setupFileDocBlock() {
	    $warn = PHP_EOL . "SAFE TO EDIT, BUILDER WILL NEVER OVERWRITE";
	    if (in_array($this->type, ['DataTable', 'EntityAbstract'])) {
	        $warn = PHP_EOL . "DO NOT MAKE CHANGES TO THIS FILE";
	    }
		$docBlock = DocBlockGenerator::fromArray(array(
			'shortDescription' => $this->type,
			'longDescription' => "Generated {$this->type}{$warn}",
			'tags' => array(
				array(
					'name' => 'package',
					'description' => $this->getNames()->namespace_entity),
				array(
					'name' => 'author',
					'description' => 'Philip Michael Raab<philip@cathedral.co.za>'),
				array(
					'name' => 'version',
					'description' => self::version))));
		$this->_file->setDocBlock($docBlock);
	}
protected function setupFileDocBlock() {
	    $warn = PHP_EOL . "SAFE TO EDIT, BUILDER WILL NEVER OVERWRITE";
	    if (in_array($this->type, ['DataTable', 'EntityAbstract'])) {
	        $warn = PHP_EOL . "DO NOT MAKE CHANGES TO THIS FILE";
	    }
		$docBlock = DocBlockGenerator::fromArray(array(
			'shortDescription' => $this->type,
			'longDescription' => "Generated {$this->type}{$warn}",
			'tags' => array(
				array(
					'name' => 'package',
					'description' => $this->getNames()->namespace_entity),
				array(
					'name' => 'author',
					'description' => 'Philip Michael Raab<philip@cathedral.co.za>'),
				array(
					'name' => 'version',
					'description' => self::version))));
		$this->_file->setDocBlock($docBlock);
	}
protected function setupFileDocBlock ( ) { $ warn = PHP_EOL . "SAFE TO EDIT, BUILDER WILL NEVER OVERWRITE" ; if ( in_array ( $ this -> type , [ 'DataTable' , 'EntityAbstract' ] ) ) { $ warn = PHP_EOL . "DO NOT MAKE CHANGES TO THIS FILE" ; } $ docBlock = DocBlockGenerator :: fromArray ( array ( 'shortDescription' => $ this -> type , 'longDescription' => "Generated {$this->type}{$warn}" , 'tags' => array ( array ( 'name' => 'package' , 'description' => $ this -> getNames ( ) -> namespace_entity ) , array ( 'name' => 'author' , 'description' => 'Philip Michael Raab<philip@cathedral.co.za>' ) , array ( 'name' => 'version' , 'description' => self :: version ) ) ) ) ; $ this -> _file -> setDocBlock ( $ docBlock ) ; }
Create file Comments
Create file Comments