public function fill(EntityContract $entity, $parameters)
    {
        $result = new Result();

        foreach ($this->getAttributes() as $attribute) {
            $result->addErrors($attribute->update($entity, $parameters));
        }

        return $result;
    }
public function fill(EntityContract $entity, $parameters)
    {
        $result = new Result();

        foreach ($this->getAttributes() as $attribute) {
            $result->addErrors($attribute->update($entity, $parameters));
        }

        return $result;
    }
public function fill ( EntityContract $ entity , $ parameters ) { $ result = new Result ( ) ; foreach ( $ this -> getAttributes ( ) as $ attribute ) { $ result -> addErrors ( $ attribute -> update ( $ entity , $ parameters ) ) ; } return $ result ; }
Fill entity.

@param EntityContract $entity
@param Bag|array      $parameters

@return Result
Fill entity .