for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace HustleWorks\Chute\DTO;
/**
* ImageFile
*
* This transfer object give details for an Image File
* @category TransferObject
* @package HustleWorks\Chute\DTO
* @author Don Herre <[email protected]>
* @license Proprietary and confidential
* @link http://hustleworks.com
* @property string $stream;
* @property string $filename
* @property int $size
* @property int $width
* @property int $height
* @property string $mime_type
* @property string $extension
*/
class ImageFile extends TransferObject
{
protected $stream, $filename, $extension, $mime_type, $size, $width, $height;
Only declaring a single property per statement allows you to later on add doc comments more easily.
It is also recommended by PSR2, so it is a common style that many people expect.
}
Only declaring a single property per statement allows you to later on add doc comments more easily.
It is also recommended by PSR2, so it is a common style that many people expect.