for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace AdamWathan\Faktory\Relationship;
class HasOne extends DependentRelationship
{
public function build()
return $this->factory->build($this->attributes);
}
protected function createRelated()
return $this->factory->create($this->attributes);