From 141ac6c2b27b7a697731ecb26ffaffa698415c62 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Tue, 29 Jan 2013 23:13:47 +0100 Subject: [PATCH] added properties documentation --- src/Intervention/Image/Image.php | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/Intervention/Image/Image.php b/src/Intervention/Image/Image.php index 70e2a3f6..de747f43 100644 --- a/src/Intervention/Image/Image.php +++ b/src/Intervention/Image/Image.php @@ -7,16 +7,58 @@ use Illuminate\Filesystem\Filesystem; class Image { + /** + * The image resource identifier of current image + * @var resource + */ public $resource; + + /** + * Type of current image + * @var string + */ public $type; + + /** + * Width of current image + * @var integer + */ public $width; + + /** + * Height of current image + * @var integer + */ public $height; + /** + * Directory path of current image + * @var string + */ public $dirname; + + /** + * Trailing name component of current image filename + * @var string + */ public $basename; + + /** + * File extension of current image filename + * @var string + */ public $extension; + + /** + * Combined filename (basename and extension) + * @var [type] + */ public $filename; + /** + * Instance of Illuminate\Filesystem\Filesystem + * @var Filesystem + */ protected $filesystem; /**