Homebrew Formula patching old ImageMagick release 6.9.7-3
$ brew install https://gist.githubusercontent.com/afaur/15fbb18b28e2140ec3fda8b098262e55/raw/b733366d08da64f87bc889eebf173f4e50e394bc/imagemagick.rb
<?php | |
/** | |
* AOP Trait | |
* Used to created aop for your class. | |
*/ | |
trait AOP { | |
public $filters = []; | |
public function applyFilter($NF) { | |
list($fnName, $fn) = $NF; | |
($this->unlessFilter($fnName)) && $this->initFilter($fnName); |