src/Crossjoin/Css/Format/Rule/DeclarationAbstract.php
public function checkProperty(&$property)
    {
        if (is_string($property)) {
            $property = Placeholder::replaceStringsAndComments($property);
            $property = Placeholder::removeCommentPlaceholders($property, true);
            $property = Placeholder::replaceStringPlaceholders($property, true);

            return true;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($property). "' for argument 'property' given."
            );
        }
    }
public function checkProperty(&$property)
    {
        if (is_string($property)) {
            $property = Placeholder::replaceStringsAndComments($property);
            $property = Placeholder::removeCommentPlaceholders($property, true);
            $property = Placeholder::replaceStringPlaceholders($property, true);

            return true;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($property). "' for argument 'property' given."
            );
        }
    }
public function checkProperty ( & $ property ) { if ( is_string ( $ property ) ) { $ property = Placeholder :: replaceStringsAndComments ( $ property ) ; $ property = Placeholder :: removeCommentPlaceholders ( $ property , true ) ; $ property = Placeholder :: replaceStringPlaceholders ( $ property , true ) ; return true ; } else { throw new \ InvalidArgumentException ( "Invalid type '" . gettype ( $ property ) . "' for argument 'property' given." ) ; } }
Sets the declaration property.

@param string $property
@return bool
Sets the declaration property .