for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Storgman - Student Organizations Management
* Copyright (C) 2014-2016, Dejan Angelov <[email protected]>
*
* This file is part of Storgman.
* Storgman is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* Storgman is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with Storgman. If not, see <http://www.gnu.org/licenses/>.
* @package Storgman
* @copyright Copyright (C) 2014-2016, Dejan Angelov <[email protected]>
* @license https://github.com/angelov/storgman/blob/master/LICENSE
* @author Dejan Angelov <[email protected]>
*/
namespace Angelov\Storgman\Members\Photos\Sizes;
use Intervention\Image\Filters\FilterInterface;
use Intervention\Image\Image;
class Small implements FilterInterface
{
public function applyFilter(Image $image)
return $image->fit(100, 100);
}