4 code examples of PHP v5\Models\Helpers\HideTime extracted from open source projects
public function getCreatedAttribute($value): bool
{
return HideTime::hideTime($value, $this->post->survey ? $this->post->survey->hide_time : true);
}
public function getUpdatedAttribute($value): bool
{
return HideTime::hideTime($value, $this->post->survey ? $this->post->survey->hide_time : true);
}
}//end getRules()
public function getValueAttribute($value): bool
{
return HideTime::hideTime($value, $this->post->survey ? $this->post->survey->hide_time : true);
}
public function getPostDateAttribute($value): bool
{
return HideTime::hideTime($value, $this->survey ? $this->survey->hide_time : true);
}