<?php

namespace Velis\Filesystem;

/**
 * @author Jan Małysiak <jan.malysiak@velis.pl>
 */
trait ImageSizeTrait
{
    /**
     * @param string $key
     * @return array|false
     */
    public function getImageSize($key)
    {
        return getimagesize($this->basePath . $key);
    }
}
