setVisible() 공개 메소드

Set the visible attributes for the model.
public setVisible ( array $visible )
$visible array
예제 #1
0
 /**
  * Set visible fields.
  *
  * @param array $fields
  *
  * @return $this
  */
 public function visible(array $fields)
 {
     $this->model->setVisible($fields);
     return $this;
 }