protected function createAuthor(ObjectAccess $author)
    {
        return new Author(
            $author->get('name'),
            $author->getDefault('email'),
            $author->getDefault('homepage'),
            $author->getDefault('role'),
            $author->data()
        );
    }
protected function createAuthor(ObjectAccess $author)
    {
        return new Author(
            $author->get('name'),
            $author->getDefault('email'),
            $author->getDefault('homepage'),
            $author->getDefault('role'),
            $author->data()
        );
    }
protected function createAuthor ( ObjectAccess $ author ) { return new Author ( $ author -> get ( 'name' ) , $ author -> getDefault ( 'email' ) , $ author -> getDefault ( 'homepage' ) , $ author -> getDefault ( 'role' ) , $ author -> data ( ) ) ; }
Create an author from the supplied raw value.

@param ObjectAccess $author The raw author data.

@return Author The newly created author.
Create an author from the supplied raw value .