src/Phlexible/Bundle/GuiBundle/Properties/Properties.php
public function remove($component, $name)
    {
        $this->load();

        $propertyKey = sprintf('%s__%s', $component, $name);

        if (isset($this->properties[$propertyKey])) {
            $this->entityManager->remove($this->properties[$propertyKey]);
            unset($this->properties[$propertyKey]);
        }

        return $this;
    }
public function remove($component, $name)
    {
        $this->load();

        $propertyKey = sprintf('%s__%s', $component, $name);

        if (isset($this->properties[$propertyKey])) {
            $this->entityManager->remove($this->properties[$propertyKey]);
            unset($this->properties[$propertyKey]);
        }

        return $this;
    }
public function remove ( $ component , $ name ) { $ this -> load ( ) ; $ propertyKey = sprintf ( '%s__%s' , $ component , $ name ) ; if ( isset ( $ this -> properties [ $ propertyKey ] ) ) { $ this -> entityManager -> remove ( $ this -> properties [ $ propertyKey ] ) ; unset ( $ this -> properties [ $ propertyKey ] ) ; } return $ this ; }
Remove property.

@param string $component
@param string $name

@return $this
Remove property .