src/Decorator/Style.php
protected function validateCodeArray(array $codes)
    {
        // Loop through it and add each of the properties
        $adds = [];

        foreach ($codes as $code) {
            $adds[] = $this->set($code);
        }

        // If any of them came back true, we're good to go
        return in_array(true, $adds);
    }
protected function validateCodeArray(array $codes)
    {
        // Loop through it and add each of the properties
        $adds = [];

        foreach ($codes as $code) {
            $adds[] = $this->set($code);
        }

        // If any of them came back true, we're good to go
        return in_array(true, $adds);
    }
protected function validateCodeArray ( array $ codes ) { // Loop through it and add each of the properties $ adds = [ ] ; foreach ( $ codes as $ code ) { $ adds [ ] = $ this -> set ( $ code ) ; } // If any of them came back true, we're good to go return in_array ( true , $ adds ) ; }
Validate an array of codes

@param array $codes

@return boolean
Validate an array of codes