private function addToFirstFrameWithoutProperty($value, $property)
    {
        $added = false;

        foreach ($this->frames as $key => $frame) {
            if ( ! $frame->propertyIsSet($property)) {
                $frame->setProperty($property, $value);
                $added = true;
                break;
            }
        }

        if ( ! $added) {
            $this->newFrameWithProperty($property, $value);
        }

        return $added;
    }
private function addToFirstFrameWithoutProperty($value, $property)
    {
        $added = false;

        foreach ($this->frames as $key => $frame) {
            if ( ! $frame->propertyIsSet($property)) {
                $frame->setProperty($property, $value);
                $added = true;
                break;
            }
        }

        if ( ! $added) {
            $this->newFrameWithProperty($property, $value);
        }

        return $added;
    }
private function addToFirstFrameWithoutProperty ( $ value , $ property ) { $ added = false ; foreach ( $ this -> frames as $ key => $ frame ) { if ( ! $ frame -> propertyIsSet ( $ property ) ) { $ frame -> setProperty ( $ property , $ value ) ; $ added = true ; break ; } } if ( ! $ added ) { $ this -> newFrameWithProperty ( $ property , $ value ) ; } return $ added ; }
Adds value to first frame without this particular value

@param mixed $value
@param mixed $property
Adds value to first frame without this particular value