src/Hydrators/ContentType.php
public function hydrate(Model $model, \Tapestry\Entities\ContentType $contentType)
    {
        $model->setName($contentType->getName());
        $model->setPath($contentType->getPath());
        $model->setTemplate($contentType->getTemplate());
        $model->setPermalink($contentType->getPermalink());
        $model->setEnabled($contentType->isEnabled());
    }
public function hydrate(Model $model, \Tapestry\Entities\ContentType $contentType)
    {
        $model->setName($contentType->getName());
        $model->setPath($contentType->getPath());
        $model->setTemplate($contentType->getTemplate());
        $model->setPermalink($contentType->getPermalink());
        $model->setEnabled($contentType->isEnabled());
    }
public function hydrate ( Model $ model , \ Tapestry \ Entities \ ContentType $ contentType ) { $ model -> setName ( $ contentType -> getName ( ) ) ; $ model -> setPath ( $ contentType -> getPath ( ) ) ; $ model -> setTemplate ( $ contentType -> getTemplate ( ) ) ; $ model -> setPermalink ( $ contentType -> getPermalink ( ) ) ; $ model -> setEnabled ( $ contentType -> isEnabled ( ) ) ; }
ContentType Hydration.

@param Model $model
@param \Tapestry\Entities\ContentType $contentType
ContentType Hydration .